<?php
/**
 * Created by Zhy
 * User: Zhy
 * Date: 2023/12/12
 * Time: 9:55
 */

namespace app\api\validate;

class PhoneCheck extends BaseValidate
{
    //验证规则
    protected $rule = [
        'phone' => 'require|phoneCheck',
    ];
    //错误提示
    protected $message = [
        'phone.require' => '手机号不能为空',
        'phone.phoneCheck' => '请输入正确格式的手机号'
    ];
}